<ion-header>
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-back-button defaultHref="tabs/tab4" text="返回"></ion-back-button>
    </ion-buttons>
    <ion-title>【D08】路线规划与距离计算</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <div>
    <ion-item button (click)="click1()">步行</ion-item>
    <ion-item button (click)="click2()">骑行</ion-item>
    <ion-item button (click)="click3()">驾车</ion-item>
    <ion-item button (click)="click4()">距离计算</ion-item>
  </div>
  <div id="bdmap" style="height: 100%;width: 100%"></div>
  <div id="r-result"></div>
</ion-content>
